package com.iran.interpreter;

import java.util.ArrayList;

public class MainTest {
    public static void main(String[] args) {
        Context context = new Context();
        ArrayList<AbstractExpression> list = new ArrayList<>();
        list.add(new TerminalExpression());
        list.add(new TerminalExpression());
        list.add(new NomterminalExpression());
        list.add(new TerminalExpression());

        list.forEach(d->{
            d.interpret(context);
        });
    }
}
